package com.yang.qgg_demo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 商品
 */
@TableName("goods")
@Data
public class Goods {

    @TableId("goodsid")
    private int goodsid;
    //商品名称
    private String name;
    //商品分类id
    private int categoryId;
    //商品价格
    private double price;
    //商品码
    private String code;
    //图片
    private String image;
    //描述信息
    private String description;
    //0 停售 1 起售
    private int status;
    //销售数量
    private int number;
    //商品进价
    private double perchaseprice;
    //商品利润
    private double profit;
    //库存
    private int stock;


}
